<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: CopyBuffer类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_copy_buffer.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_copy_buffer-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CopyBuffer类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>a buffer holding the points being copied and a set of operations for manipulating the buffer.  
 <a href="class_copy_buffer.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="copy_buffer_8h_source.html">copyBuffer.h</a>&gt;</code></p>
<div class="dynheader">
类 CopyBuffer 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_copy_buffer.png" usemap="#CopyBuffer_map" alt=""/>
  <map id="CopyBuffer_map" name="CopyBuffer_map">
<area href="class_statistics.html" alt="Statistics" shape="rect" coords="0,0,77,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a80fff9ef272755c91db01b2a5b803033"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a80fff9ef272755c91db01b2a5b803033">CopyBuffer</a> (bool register_stats=false)</td></tr>
<tr class="memdesc:a80fff9ef272755c91db01b2a5b803033"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor  <a href="class_copy_buffer.html#a80fff9ef272755c91db01b2a5b803033">更多...</a><br /></td></tr>
<tr class="separator:a80fff9ef272755c91db01b2a5b803033"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed16ed6c8a16a8f735b6b948abe85f3f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#aed16ed6c8a16a8f735b6b948abe85f3f">CopyBuffer</a> (const <a class="el" href="class_copy_buffer.html">CopyBuffer</a> &amp;copy)</td></tr>
<tr class="memdesc:aed16ed6c8a16a8f735b6b948abe85f3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor  <a href="class_copy_buffer.html#aed16ed6c8a16a8f735b6b948abe85f3f">更多...</a><br /></td></tr>
<tr class="separator:aed16ed6c8a16a8f735b6b948abe85f3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd70593903235634a5435f644ae814a"><td class="memItemLeft" align="right" valign="top"><a id="a6fd70593903235634a5435f644ae814a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a6fd70593903235634a5435f644ae814a">~CopyBuffer</a> ()</td></tr>
<tr class="memdesc:a6fd70593903235634a5435f644ae814a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a6fd70593903235634a5435f644ae814a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a716da60881a1f4926f64b2ab1dc59068"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_copy_buffer.html">CopyBuffer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a716da60881a1f4926f64b2ab1dc59068">operator=</a> (const <a class="el" href="class_copy_buffer.html">CopyBuffer</a> &amp;copy_buffer)</td></tr>
<tr class="memdesc:a716da60881a1f4926f64b2ab1dc59068"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal Operator  <a href="class_copy_buffer.html#a716da60881a1f4926f64b2ab1dc59068">更多...</a><br /></td></tr>
<tr class="separator:a716da60881a1f4926f64b2ab1dc59068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32f1615cf97d9059da9744ca7368ecb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a32f1615cf97d9059da9744ca7368ecb6">set</a> (<a class="el" href="local_types_8h.html#aad5f0c82cf4c260ee8aac89a5cb65808">ConstCloudPtr</a> cloud_ptr, const <a class="el" href="class_selection.html">Selection</a> &amp;selection)</td></tr>
<tr class="memdesc:a32f1615cf97d9059da9744ca7368ecb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the points in the copy buffer.  <a href="class_copy_buffer.html#a32f1615cf97d9059da9744ca7368ecb6">更多...</a><br /></td></tr>
<tr class="separator:a32f1615cf97d9059da9744ca7368ecb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f059f0d5fd59e23a2d8864dcd2a47b"><td class="memItemLeft" align="right" valign="top"><a id="aa8f059f0d5fd59e23a2d8864dcd2a47b"></a>
const <a class="el" href="class_cloud.html">Cloud</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#aa8f059f0d5fd59e23a2d8864dcd2a47b">get</a> () const</td></tr>
<tr class="memdesc:aa8f059f0d5fd59e23a2d8864dcd2a47b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the points stored in the internal buffer as a const <a class="el" href="class_cloud.html" title="A wrapper which allows to use any implementation of cloud provided by a third-party library.">Cloud</a> <br /></td></tr>
<tr class="separator:aa8f059f0d5fd59e23a2d8864dcd2a47b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab7d4e7037ae0587bb414101ba7d43a4"><td class="memItemLeft" align="right" valign="top"><a id="aab7d4e7037ae0587bb414101ba7d43a4"></a>
<a class="el" href="class_cloud.html">Cloud</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#aab7d4e7037ae0587bb414101ba7d43a4">get</a> ()</td></tr>
<tr class="memdesc:aab7d4e7037ae0587bb414101ba7d43a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the points stored in the internal buffer as a <a class="el" href="class_cloud.html" title="A wrapper which allows to use any implementation of cloud provided by a third-party library.">Cloud</a> <br /></td></tr>
<tr class="separator:aab7d4e7037ae0587bb414101ba7d43a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6349bb6a0da3621cf3a86648bfe69955"><td class="memItemLeft" align="right" valign="top"><a id="a6349bb6a0da3621cf3a86648bfe69955"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a6349bb6a0da3621cf3a86648bfe69955">clean</a> ()</td></tr>
<tr class="memdesc:a6349bb6a0da3621cf3a86648bfe69955"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all the points from the copy buffer. <br /></td></tr>
<tr class="separator:a6349bb6a0da3621cf3a86648bfe69955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a673b398c91ad4b477c957a02920f897f"><td class="memItemLeft" align="right" valign="top"><a id="a673b398c91ad4b477c957a02920f897f"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a673b398c91ad4b477c957a02920f897f">getStat</a> () const</td></tr>
<tr class="memdesc:a673b398c91ad4b477c957a02920f897f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the statistics of the copied points in string. <br /></td></tr>
<tr class="separator:a673b398c91ad4b477c957a02920f897f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6234119988332b0fa9a7e3ff1242f6f4"><td class="memItemLeft" align="right" valign="top"><a id="a6234119988332b0fa9a7e3ff1242f6f4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a6234119988332b0fa9a7e3ff1242f6f4">empty</a> () const</td></tr>
<tr class="memdesc:a6234119988332b0fa9a7e3ff1242f6f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the buffer is empty, false otherwise <br /></td></tr>
<tr class="separator:a6234119988332b0fa9a7e3ff1242f6f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_statistics"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_statistics')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_statistics.html">Statistics</a></td></tr>
<tr class="memitem:a4701d84102e2c9e20168f3ec544613ae inherit pub_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a4701d84102e2c9e20168f3ec544613ae"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a4701d84102e2c9e20168f3ec544613ae">~Statistics</a> ()</td></tr>
<tr class="memdesc:a4701d84102e2c9e20168f3ec544613ae inherit pub_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a4701d84102e2c9e20168f3ec544613ae inherit pub_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a6dfc9cf2961d58f350bc72747f78c659"><td class="memItemLeft" align="right" valign="top"><a id="a6dfc9cf2961d58f350bc72747f78c659"></a>
<a class="el" href="class_cloud.html">Cloud</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_copy_buffer.html#a6dfc9cf2961d58f350bc72747f78c659">buffer_</a></td></tr>
<tr class="memdesc:a6dfc9cf2961d58f350bc72747f78c659"><td class="mdescLeft">&#160;</td><td class="mdescRight">a cloud object holding all the copied points. <br /></td></tr>
<tr class="separator:a6dfc9cf2961d58f350bc72747f78c659"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_statistics"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_statistics')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_statistics.html">Statistics</a></td></tr>
<tr class="memitem:ae0c0dc20399480729f93a5470679ca38 inherit pub_static_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="ae0c0dc20399480729f93a5470679ca38"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#ae0c0dc20399480729f93a5470679ca38">getStats</a> ()</td></tr>
<tr class="memdesc:ae0c0dc20399480729f93a5470679ca38 inherit pub_static_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the strings of the statistics. <br /></td></tr>
<tr class="separator:ae0c0dc20399480729f93a5470679ca38 inherit pub_static_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65aec2bb494c12e19c2f5f60c1891767 inherit pub_static_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a65aec2bb494c12e19c2f5f60c1891767"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:a65aec2bb494c12e19c2f5f60c1891767 inherit pub_static_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_statistics"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_statistics')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_statistics.html">Statistics</a></td></tr>
<tr class="memitem:a60ddd90a571ed4c3ce8c0f6317a36d63 inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a60ddd90a571ed4c3ce8c0f6317a36d63"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a60ddd90a571ed4c3ce8c0f6317a36d63">Statistics</a> ()</td></tr>
<tr class="memdesc:a60ddd90a571ed4c3ce8c0f6317a36d63 inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor. <br /></td></tr>
<tr class="separator:a60ddd90a571ed4c3ce8c0f6317a36d63 inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a567e404052f8f50873c2dfa8cf261251 inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a567e404052f8f50873c2dfa8cf261251"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a567e404052f8f50873c2dfa8cf261251">Statistics</a> (const <a class="el" href="class_statistics.html">Statistics</a> &amp;)</td></tr>
<tr class="memdesc:a567e404052f8f50873c2dfa8cf261251 inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor <br /></td></tr>
<tr class="separator:a567e404052f8f50873c2dfa8cf261251 inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add22e612d4f455d5da0e6a02ea16d69a inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="add22e612d4f455d5da0e6a02ea16d69a"></a>
virtual <a class="el" href="class_statistics.html">Statistics</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#add22e612d4f455d5da0e6a02ea16d69a">operator=</a> (const <a class="el" href="class_statistics.html">Statistics</a> &amp;)</td></tr>
<tr class="memdesc:add22e612d4f455d5da0e6a02ea16d69a inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal Operator <br /></td></tr>
<tr class="separator:add22e612d4f455d5da0e6a02ea16d69a inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a600df203053cd270b328d95df6a46aa6 inherit pro_methods_class_statistics"><td class="memItemLeft" align="right" valign="top"><a id="a600df203053cd270b328d95df6a46aa6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">registerStats</a> ()</td></tr>
<tr class="memdesc:a600df203053cd270b328d95df6a46aa6 inherit pro_methods_class_statistics"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a statistics <br /></td></tr>
<tr class="separator:a600df203053cd270b328d95df6a46aa6 inherit pro_methods_class_statistics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>a buffer holding the points being copied and a set of operations for manipulating the buffer. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a80fff9ef272755c91db01b2a5b803033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80fff9ef272755c91db01b2a5b803033">&#9670;&nbsp;</a></span>CopyBuffer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CopyBuffer::CopyBuffer </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>register_stats</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor </p>
<p>This creates an empty buffer </p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;      <span class="keywordflow">if</span> (register_stats)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <a class="code" href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">registerStats</a>();</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    }</div>
<div class="ttc" id="aclass_statistics_html_a600df203053cd270b328d95df6a46aa6"><div class="ttname"><a href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">Statistics::registerStats</a></div><div class="ttdeci">void registerStats()</div><div class="ttdoc">Register a statistics</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="aed16ed6c8a16a8f735b6b948abe85f3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed16ed6c8a16a8f735b6b948abe85f3f">&#9670;&nbsp;</a></span>CopyBuffer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CopyBuffer::CopyBuffer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_copy_buffer.html">CopyBuffer</a> &amp;&#160;</td>
          <td class="paramname"><em>copy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy Constructor </p>
<p>create a copy buffer by copying all the internal states of the passed copy buffer. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">copy</td><td>the copy buffer object used to initialize this object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a716da60881a1f4926f64b2ab1dc59068"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a716da60881a1f4926f64b2ab1dc59068">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_copy_buffer.html">CopyBuffer</a>&amp; CopyBuffer::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_copy_buffer.html">CopyBuffer</a> &amp;&#160;</td>
          <td class="paramname"><em>copy_buffer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Equal Operator </p>
<p>Copy all the internal states to the this copy buffer object. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">copy_buffer</td><td>the copy buffer object used to update the this object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>A reference to this. </dd></dl>

</div>
</div>
<a id="a32f1615cf97d9059da9744ca7368ecb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32f1615cf97d9059da9744ca7368ecb6">&#9670;&nbsp;</a></span>set()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CopyBuffer::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#aad5f0c82cf4c260ee8aac89a5cb65808">ConstCloudPtr</a>&#160;</td>
          <td class="paramname"><em>cloud_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_selection.html">Selection</a> &amp;&#160;</td>
          <td class="paramname"><em>selection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the points in the copy buffer. </p>
<p>The passed selection pointer is used to get specified points from the stored cloud pointer and copy them into the internal buffer. Any points that currently exist in this buffer are removed and replaced with those passed. Note that this buffer is cleared prior to any checking of the state of the passed parameters. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cloud_ptr</td><td>a pointer to a cloud object whose points are to be copied </td></tr>
    <tr><td class="paramname">selection</td><td>a const reference to the selected points object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/<a class="el" href="copy_buffer_8h_source.html">copyBuffer.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_copy_buffer.html">CopyBuffer</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
